package com.wlps.service;

import com.wlps.entity.OrderRecord;
import com.wlps.entity.SysUser;
import com.baomidou.mybatisplus.extension.service.IService;
import com.wlps.result.ResultPageVo;
import com.wlps.result.ResultVo;
import com.wlps.vo.OperatorDetailInfoVo;
import com.wlps.vo.SenderRoleUserVo;
import com.wlps.vo.UserParm;

import java.util.List;

/**
 * <p>
 * 员工表(sys_user) 服务类
 * </p>
 *
 * @author ZWYZY
 * @since 2020-07-30
 */
public interface ISysUserService extends IService<SysUser> {
    /**
     *根据用户名查询用户信息
     *@param username
     *@return
     */
    SysUser getUserByUserName(String usenrame);

    /** 查询所有用户
     * @param userParm
     * @return
     */
  ResultPageVo<List<SysUser>> selectUser(UserParm userParm);

  public List<OperatorDetailInfoVo> operatorDetailinfoById(long id);

  public List<String> queryCommodityByOrderId(long id);

    public List<OperatorDetailInfoVo> operatorDetailAll();

    /** 获取角色为配送员的列表
     * @return
     */
    ResultVo<List<SenderRoleUserVo>> getSenderRoleUserVo();
}
